<!--
  Generated template for the AnotherPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title positive>AnotherPage</ion-title>
    <ion-buttons>
    <button ion-button icon-only end>
      <ion-icon name="close" (click)="close()"></ion-icon>
    </button>
  </ion-buttons>
  </ion-navbar>
  
</ion-header>


<ion-content padding>
  <form [formGroup]="myForm" (submit)="saveForm($event)">
    <ion-item>
      <ion-label stacked>Field 1</ion-label>
      <ion-input formControlName="field1" type="text"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label stacked>Field 2</ion-label>
      <ion-input formControlName="field2" type="text"></ion-input>
    </ion-item>
    <ion-item>
      <ion-label stacked>Field 3</ion-label>
      <ion-input formControlName="field3" type="text"></ion-input>
    </ion-item>
    <button type="submit">Save Form</button>
  </form>
<!--ion-list>
  <ion-item>
    <ion-label>Username</ion-label>
    <ion-input type="text"></ion-input>
  </ion-item>
  <ion-item>
    <ion-label>Password</ion-label>
    <ion-input type="password"></ion-input>
  </ion-item>

  <button ion-item>
    Sign In
  </button>
</ion-list>
<!--p>Hey, Loser!</p>
<ion-menu [content]="content">
  <ion-content>
    <ion-list>
      <button ion-item (click)="openPage(homePage)">
        Home
      </button>
    </ion-list>
  </ion-content>
</ion-menu>
<ion-nav id="nav" #content [root]="rootPage"></ion-nav-->
</ion-content>
